body,div,span,h1,h2,h3,h4,h5,input,p,a,ul,li,label{
    margin: 0;
    padding: 0;
    font-family: tahoma, sans-serif, arial, calibri;
}

a{
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

ul,ol{list-style: none;}

input[type="text"],select{
    border:1px solid #ccc;
    color: #666;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

input[type="text"]:focus,select:focus{
    outline: none;
    color: #222; 
    box-shadow: 0 0 3px rgba(0, 0, 255, 1);
    -webkit-box-shadow: 0 0 3px #3399FF; 
    -moz-box-shadow: 0 0 3px #3399FF;
    border:1px solid  #0099CC;
}

.border-input-button *{
    float:left;
}

.button-inset{
    background: #fff url(images/search.png) center center no-repeat;
    border:none;
    cursor:pointer;
}

#page-wrap{
    width: auto;
    min-width: 800px;
    min-height: 500px;
}

#header{
    height: 50px;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#fafafa);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#fafafa),to(#f5f5f5));
    border-bottom: 1px solid #fafafa;
}

#header #logo-wrap{
    width:349px;
    float:left;
    height: 100%;
}

#logo-wrap #logo{
    display: block;
    margin-left:90px;
    width:170PX;
    height: 50px;
    color: transparent;
    background: transparent url(images/logo.png) top left no-repeat;
}

#header #place-search-form{
    margin: 10px 0 0 50px;
    float:left;
}

#place-search-form input[type="text"]{
    font-size: 14px;
    width:450px;    
    padding: 7px 7px 7px 30px;
    background: #fff url(images/indicate.png) 3px center no-repeat;
}

#inputmethod{
    width:35px;
    height:20px;
    margin: 7px 0 0 -75px;
    cursor: pointer;
    overflow: hidden;
    background-color: #999;
    background-image: -moz-linear-gradient(0% 100% 90deg,#777,#959595);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#959595),to(#777));
}

#inputmethod:hover{
    background-color: #008dfb;
    background-image: -moz-linear-gradient(0% 100% 90deg,#0072d2,#008dfb);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#008dfb),to(#0072d2));
}

#border_methods{
    display: block;
    height:60px;
    position: relative;
}

#inputmethod a{
    display: block;
    width:35px;
    height:20px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 10px;
    }

#place-search-form .button-inset{
    width:35px;
    height:29px;
    margin: 2px 0 0 -37px;
}

#toolbar{
    float:right;
    #height:30px;
    #width:200px;
    margin: 10px 130px 0 0;
    #border: 1px solid #ddd;
    #background-color: #f5f5f5;
    #background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#eee);
    #background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#eee),to(#f5f5f5));
}

#toolbar span{
    width:30px;
    height:30px;
    border: 1px solid #fff;
    margin:0px 5px;
    float:left;
    box-shadow: inset 0 0 1px #888;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#fafafa);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#fafafa),to(#f5f5f5));
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#toolbar span:hover{
    box-shadow: inset 0 0 1px #aaa;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#fafafa);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#fafafa),to(#f5f5f5));
}

#body{
    position: absolute;
    width: 100%;
    height: 595px;
    clear: both;
}

#sidebar{
    width: 350px;
    height: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    float:left;
    position: relative;
    z-index: 2;
}

#sidebar #tabs{
    list-style:none;
    float:left;
    margin:15px 0 15px 30px;
    border:1px solid #ddd;
    background-color: #eaeaea;
    background-image: -moz-linear-gradient(0% 100% 90deg,#eaeaea,#f5f5f5);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#f5f5f5),to(#eaeaea));
}

#tabs li{
    float:left;    
}

#tabs li a{
    background-color: transparent;
    background-image: none;
    display: block;
    text-align: center;
    text-shadow: 0px 1px 0px #fff;
    padding:8px 8px;
    font-weight: 600;
    font-size: 12px;
    color: #444;
    cursor:pointer;
    border-right: 1px solid #ddd;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
}

#tabs li.inactive a:hover{
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#fff);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#f5f5f5));
    color: #222;
}

#tabs li.active a{
    box-shadow:inset 0px 3px 3px #b0b0b0;
    background-color: #d0d0d0;
    background-image: -moz-linear-gradient(0% 100% 90deg,#d0d0d0,#eee);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#eee),to(#d0d0d0));
    text-shadow:0px 1px 0px #f0f0f0;
    padding:10px 8px 6px 8px;
    color:#000;
    }


#tabs li:last-child a{
    border:none;
}

#but_ssidebar{
    position: absolute;
    color: #aaa;
    top: 20px;
    left: 0px;
    padding: 10px 2px;
    border: 1px solid transparent;
    border-left:none;
    background-color: #fff;
    box-shadow: 0px 1px 5px #777;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    z-index: 3;
}

#but_ssidebar:hover{
    border: 1px solid #eee;
    border-left:none;
    background-color: #fbfbfb;
    color: #777;
}

#border_home_hide{
    float:right;
    margin-top:4px;
}

#but_hsidebar, #homeformtab{
    color: #aaa;
    display: block;
    width: 25px;
    height: 25px;
    border: 1px solid transparent;
    border-right:none;
    cursor: pointer;
    text-align: center;
    line-height: 25px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

#but_hsidebar:hover, #homeformtab:hover{
    border: 1px solid #eee;
    border-right:none;
    background-color: #fafafa;
    color: #777;
}

#but_hsidebar{
    background: transparent url(images/left_arrow.png) center left no-repeat;
}
#but_hsidebar:hover{
    background-position: center right;
}

#homeformtab{
    background: transparent url(images/home.png) top center no-repeat;
}
#homeformtab:hover{
    background-position: bottom center;
}

#sidebar #tabs-content{
    width: 310px;
    overflow: hidden;
    max-height:460px;
    float:left;
    padding:20px;
    border-top: 1px solid #ddd;
}

#tabs-content .border-content.invisible{
    display: none;
}

#tabs-content .border-content.visible{
    display: block;
    max-height:460px;
}

#placearoundform .listplace{
    height:365px;
}

#streetform .border-input-button{
    float:left;
}

#streetform .border-input-button input[type="text"]{
    font-size: 13px;
    width:270px;
    padding: 5px 5px 5px 30px;
}

#streetform .border-input-button .button-inset{
    width:32px;
    height:24px;
    margin: 2px 0 0 -34px;
}

#streetform #startPoint input[type="text"]{
    background: #fff url(images/pointa.png) 3px center no-repeat;
    }

#streetform #endPoint input[type="text"]{
    background: #fff url(images/pointb.png) 3px center no-repeat;
    }
#streetform #endPoint{
    margin-top:20px;
}

#streetform .placeresult{
    width:100%;
    float:left;
}

.placeresult .hidebut_result{
    width:100%;
    height:20px;
    color:#777;
    text-align: center;
    display: block;
    font-size:16px;
}

.placeresult .hidebut_result:hover{
    color:#444;
}

ul.street-content li h5{
    color:#0080ff;
}

ul.street-content li a{
    font-size:12px;
}

ul.street-content li{
    border-bottom: 1px solid #eee;
    padding:10px 0;
}


ul.street-content li:last-child{
    border-bottom:none;
    }

ul.street-content li h5{
    font-size:14px;
}

ul.street-content li a.address{
    background: transparent url(images/address.png) center left no-repeat;
    padding-left: 15px;
    }

ul.street-content li .function{
    display:block;
    padding-top:6px;
    }

ul.street-content li .function a{
    font-size: 11px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    }
    
ul.street-content li .function a:hover{
    color: #005dc5;
    text-decoration: underline;
    }

#placearoundform #form_input{
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

#placearoundform label{
    font-size:12px;
    font-weight: 600;
    color: #555;
    padding-bottom: 10px;
    display:block;
}

#placearoundform input[type="text"],#placearoundform select{
    font-size:15px;
    padding:2px 5px;
}

#placearoundform #placetype{
    float:left;
    width:130px;
}

#placetype #lst_placetype{
    width: 100%;
}

#placearoundform #range{
    float:right;
    width:150px;
    }
    
#range #num_range{
    width: 60px;
}

#range #lst_unit{
    width:60px;
}

#sidebar #footer{
    width: 100%;
    padding:3px 0 8px 0;
    position: absolute;
    text-align: center;
    left:0;
    bottom: 0px;
    border-top: 1px solid #ccc;
    background-color: #eaeaea;
    box-shadow: inset 0px 1px 0px #fff;
    background-image: -moz-linear-gradient(0% 100% 90deg,#e5e5e5,#f0f0f0);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#f0f0f0),to(#e5e5e5));
}

#footer a{
    font-size:11px;
    text-shadow:0px 1px 0px #fff;
}

#footer a[href]{
    color: #0078ff;
}

#footer a[href]:hover{ text-decoration: underline; }

#content{
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    position: absolute;
    z-index: 0;
}

#content #controlzoom{
    position:absolute;
    top:100px;
    right:60px;
    height: 152px;
    width:20px;
}

#content #controldirection{
    position: absolute;
    top:20px;
    right:20px;
    width:60px;
    height:60px;
    }

#controlzoom span,#controldirection span{
    background-color: #fff;
    text-align: center;
    position: absolute;
    border:1px solid #ccc;
}

#controlzoom span{ box-shadow: 0px 3px 5px #888; }

#controldirection span{ box-shadow: 0px 2px 3px #888; }

#pluszoom,#minuszoom,#indicatezoom,#controldirection span{
    border-radius: 2px;
    color:#666;
    font-family: arial, sans-serif;
    font-weight: bolder;
    cursor: pointer;
}

#controlzoom #pluszoom{ top:0; z-index: 1; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;}

#controlzoom #minuszoom{ bottom: 0px; z-index: 2; border-top-left-radius: 3px; border-top-right-radius: 3px;}

#controlzoom #pluszoom,#controlzoom #minuszoom{
    width:20px;
    height:20px;
    line-height: 20px;
    cursor: pointer;
}

#controlzoom #barzoom{
    width:2px;
    height:110px;
    top:20px;
    left:9px;
    z-index: 0;
    box-shadow: 0px 0px 3px #666;
}

#controlzoom #indicatezoom{
    width:20px;
    height:10px;
    top:118px;
    left:0px;
    display:block;
    line-height: 10px;
    z-index: 1;
}

#movetop,#moveright,#movebottom,#moveleft{
    width:20px;
    height:20px;
}

#movetop{ top:0px; left:0px}
#moveright{ top:25px; left:25px}
#movebottom{ top:50px; left:0px}
#moveleft{ top:25px; left:-25px}

#content #map-container{
    overflow: hidden;
    position:relative;
    width: 100%;
    height: 100%;
    background: transparent url(images/bg.png) top left repeat;
}

#map-container #topbox{
    width:100%;
    top:-5px;
    left:0;
    height:5px;
    position: absolute;
    box-shadow: 0px 2px 3px #aaa;
}

#map-container #leftbox{
    width:5px;
    top:0;
    #left:-5px;
    left:345px;
    height:100%;
    position: absolute;
    box-shadow: 2px 0px 3px #aaa;
}

#map-container .indicatePlace_onMap{
    position: absolute;
    width:55px;
    height: 45px;
    top:250px;
    left:350px;
    background-repeat: no-repeat;
    background-position: top left;
    display: none;
}

#indicateA.indicatePlace_onMap{
    background: transparent url(images/flag_a.png) top left no-repeat;
}

#indicateB.indicatePlace_onMap{
    background: transparent url(images/flag_b.png) top left no-repeat;
}

.indicatePlace_onMap span{
    position: absolute;
    height: 100%;
    width: 27px;
}

#contextmenu_map{
    display:none;
    list-style:none;
    position:absolute;
    background-color: #fff;
    width:150px;
    box-shadow: 0px 2px 5px #444;
    z-index: 3;
    border-radius: 2px;
    border-top:5px solid #777;
    border-bottom:3px solid #999;
    background-image: -moz-linear-gradient(0% 100% 90deg,#f5f5f5,#fafafa);
    background-image: -webkit-gradient(linear,0% 0%,0% 100%,from(#fafafa),to(#f5f5f5));
}

#contextmenu_map li{
    display:block;
    border-bottom:1px solid #ccc;
    box-shadow:0px 1px 0px #fff;
    padding:2px 0px;
}

#contextmenu_map li:last-child{
    border-bottom:none;
}

#contextmenu_map li a{
    display:block;
    font-size: 12px;
    font-weight:bold;
    font-family: arial;
    padding: 5px 20px 5px 30px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

#contextmenu_map li.mn_item0 a{
    background: url(images/icons.png) 4% 102% no-repeat;
}

#contextmenu_map li.mn_item1 a{
    background: url(images/icons.png) 4% 81% no-repeat;
}

#contextmenu_map li.mn_item2 a{
    background: url(images/icons.png) 4% 60% no-repeat;
}

#contextmenu_map li.mn_item3 a{
    background: url(images/icons.png) 4% 40% no-repeat;
}

#contextmenu_map li.mn_item4 a{
    background: url(images/icons.png) 4% 20% no-repeat;
}

#contextmenu_map li.mn_item5 a{
    background: url(images/icons.png) 4% 0% no-repeat;
}

#contextmenu_map li a:hover{
    background-color: #d3e1ff;
    padding-left:35px;
}

#content #map-pic{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    border:none;
}

a.viewmap,a.setstartpoint,a.setendpoint,a.findplacearound{ padding:3px 0px 3px 22px; margin-right:10px; display:inline-block;}

.function .viewmap{
    background: transparent url(images/mini_search.png) center left no-repeat;
}
.function .setstartpoint{
    background: transparent url(images/mini_pointa.png) center left no-repeat;
}
.function .setendpoint{
    background: transparent url(images/mini_pointb.png) center left no-repeat;
}
.function .findplacearound{
    background: transparent url(images/radar.png) center left no-repeat;
}

.listplace{
    position: relative;
    overflow: hidden;
    padding-right: 20px;
    margin-right: -15px;
}

.listplace .top_seperate,.listplace .bottom_seperate{
    width:100%;
    height:20px;
    position:absolute;
    left:0;
    display:none;
}

.listplace .top_seperate{
    top:0;
    background: transparent url(images/shadow_top.png) top center no-repeat;
}

.listplace .bottom_seperate{
    bottom:0;
    background: transparent url(images/shadow_bottom.png) bottom center no-repeat;
}

.slider-content{
    display: none;
    position: absolute;
    right: 0px;
    width: 8px;
    height:100%;
    top:0;
    border-radius:10px;
    background-color: #eee;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

.slider-content span{
    position: absolute;
    width:100%;
    height:50%;
    top:0;
    border-radius:10px;
    background-color: #ddd;
    transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -webkit-transition: background 0.3s ease-in-out;
}

.clear-fix{
    clear: both;
}